<%--
  Created by IntelliJ IDEA.
  User: lufei
  Date: 2025/4/9
  Time: 14:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
  <head>
    <title>添加附图</title>
  </head>
  <body>
  <h1>添加附图</h1>
  <form action="${pageContext.request.contextPath}/image/add" method="post" enctype="multipart/form-data">
    <label for="file">选择图片:</label>
        <input type="file" id="file" name="image" required>
        <input type="hidden" name="route_id" value="${route_id}">
    <br><br>
    <input type="submit" value="上传">
  </form>
  </body>
</html>